import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CasePageModule, CasePageRouterModule } from '../../business/case-page/api';
import { BasicModule } from './basic/basic.module';
import { CustomizeHeaderModule } from './customize-header/customize-header.module';
import { CustomizeTabModule } from './customize-tab/customize-tab.module';
import { TabBarExtraModule } from './tab-bar-extra/tab-bar-extra.module';
import { Demo4Module } from './demo4/demo4.module';
import { ChangeEventModule } from './change-event/change-event.module';
import { Demo6Module } from './demo6/demo6.module';
import { Demo7Module } from './demo7/demo7.module';
import { CardModule } from './card/card.module';
import { SlideModule } from './slide/slide.module';

const ComponentModules = [
  BasicModule,
  ChangeEventModule,
  CustomizeHeaderModule,
  CustomizeTabModule,
  TabBarExtraModule,
  Demo4Module,
  Demo6Module,
  Demo7Module,
  SlideModule,
  CardModule,
];

@NgModule({
  imports: [CommonModule, CasePageModule, CasePageRouterModule, FormsModule, ...ComponentModules],
})
export class TabsDemoModule {}
